<?php

class Form_Roomcats extends Zend_Form
{
    public function init()
    {
		/*$this->setMethod('post');
	    $this->addPrefixPath('Lion_Form_Element','Lion/Form/Element/','element');
	    $this->addElement('text', 'roomcat_type', array(
            'label'      => 'Room Category',           
            'size'       => 100,
            'filters'    => array('StringTrim'),
            'class'			 => 'input-2',
            'validators' => array(
            	array('validator' => 'StringLength', 'options' => array(0, 100))
            )
        ));
	    
        $roomcat_type = new Zend_Form_Element_Select('roomcat_type');
        $roomcat_type ->setLabel('Room Type')
		 			 ->addMultiOptions(array(
		 			    '' => 'Select Room Type',            
						'single' => 'Single',
						'double' => 'Double',
						3 => 'Triple'));
		$roomcat_type->setOptions(array('class'=>'input-2'));				
		$this->addElement($roomcat_type);	
	    
	    $status = new Zend_Form_Element_Select('status');
        $status ->setLabel('Status')
		 			 ->addMultiOptions(array(
		 			    '' => 'Select Status',            
						1 => 'Active',
						0 => 'Inactive'));
		$status->setOptions(array('class'=>'input-2'));				
		$this->addElement($status);	  	    
	    
	    $this->addElement('submit', 'submit', array(
	      'ignore'   => true,
	      'label'    => 'Update',
	    )); */      
    	$this->setDecorators( array( array('ViewScript', array('script' => 'add.phtml'))));  
    }	
}
